package com.jing.weibo.mapper.user;

import java.util.List;

import com.jing.weibo.pojo.user.UserCurrencyLog;

/**
 * 用户妞币的Mapper
 * @author jing.yue
 * @version 2012/08/30 1.0.0
 */
public interface UserCurrencyLogMapper {

	/**
	 * 保存用户妞币信息
	 * @param userCurrencyLog
	 * @throws Exception
	 */
	public abstract void saveUserCurrencyLog(UserCurrencyLog userCurrencyLog) throws Exception;

	/**
	 * 根据用户名获取用户妞币记录信息
	 * @param userCurrencyLog
	 * @return
	 * @throws Exception
	 */
	public abstract List<UserCurrencyLog> findByUsernameCurrency(UserCurrencyLog userCurrencyLog) throws Exception;

	/**
	 * 根据用户名获取用户妞币记录信息记录数
	 * @param userCurrencyLog
	 * @return
	 * @throws Exception
	 */
	public abstract Integer findByUsernameCurrencyCount(UserCurrencyLog userCurrencyLog) throws Exception;
}